//* 监听输入框的拖拽离开事件，触发 chatHistoryPanelDragEvent 函数处理事件
chatHistoryPanel.addEventListener('dragleave', event => chatHistoryPanelDragEvent(event));
//* 监听输入框的拖拽经过事件，触发 chatHistoryPanelDragEvent 函数处理事件
chatHistoryPanel.addEventListener('dragover', event => chatHistoryPanelDragEvent(event));
//* 监听输入框的拖拽放下事件，触发 chatHistoryPanelDragAfterEvent 函数处理事件
chatHistoryPanel.addEventListener('drop', event => chatHistoryPanelDragAfterEvent(event));
//* 监听文件输入按钮的点击事件，触发 inputFileButtonClickEvent 函数处理事件
inputFileButton.addEventListener('click', () => inputFileButtonClickEvent());